package com.evan.designpatterns.factory.homework3.simplefactory;

/**
 * @author :liujiapeng01
 * @date :2019-03-07 10:18
 **/
public class Test {
    public static void main(String[] args) {
        Book book = SimpleFactory.getBookByClass(EffectiveJava.class);
        Book effective = SimpleFactory.getBookByNickName("effective");

    }
}
